function ObjHandle = plotPhase(main, filterID, axes, color, W)

filterToPlot = ['filter' num2str(filterID)];

sys = main.(filterToPlot).transferFunction;


[MAG, PHASE] = bode(sys, W);

ObjHandle = semilogx(axes, W, PHASE(:,:), 'Color', color, 'LineWidth',2);

end